package cn.itsource.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;

@Data
public class RegisterDto {
    @NotEmpty(message = "请求错误！")
    private String code;
    @Range(min = 0, max = 2 ,message = "请求错误！")
    private Integer type;
}
